package com.letv.mytest.service;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;

@Service
public class MyService {

    @Value("#{appProperties['ad.name']}")
    private String name;

    public void ss() {
        System.err.println("sss........." + name);
    }

    public String getName() {
        return name;
    }

}
